﻿using System.Collections.Generic;

namespace OVS.CoreDomain.Business
{
    public interface IBusinessVoter
    {
        IVoter GetVoter(string voterId);
        bool AddVoter(IVoter voter);
        bool UpdateVoter(IVoter voter);
        IList<IVoter> SearchVoters(IVoterSearchCriteria voterSearchCriteria);
        IVoter HaveVoted(IVoter voter, IElection election);
        bool UpdatePassword(IVoter voter);
    }
}
